#pragma once

#include "SceneObject.h"
#include "Scene.h"
#include "SDL_rotozoom.h"
#include <iostream>
namespace ui
{
class Mine : public SceneObject {

public:
	Mine(void);
	Mine(int posX, int posY, int id);
	void loadSurface() throw (SDL_Exception);
	void collisionEffect(SceneObject* so);
	bool optimizedCollision( SDL_Rect r, int angle, Point srcPivot);
	//void draw(SDL_Surface* s);
	bool isMine();
	virtual ~Mine(void);
};

};
